<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>Badugi: tools/Protocol.java Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Badugi
   &#160;<span id="projectnumber">1.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_protocol_8java_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">Protocol.java</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_protocol_8java.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="keyword">package </span>tools;</div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;</div>
<div class="line"><a name="l00003"></a><span class="lineno"><a class="line" href="enumtools_1_1_protocol.html">    3</a></span>&#160;<span class="keyword">public</span> <span class="keyword">enum</span> <a class="code" href="enumtools_1_1_protocol.html">Protocol</a> </div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;{ </div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;    <span class="comment">/* Komuniakty klienta */</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"><a class="line" href="enumtools_1_1_protocol.html#ab47a2b0367014541f341673dff85a090">    6</a></span>&#160;    <a class="code" href="enumtools_1_1_protocol.html#ab47a2b0367014541f341673dff85a090">HELLO</a>,</div>
<div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="enumtools_1_1_protocol.html#a1b3083fa16658849fa8e47b7ca027602">    7</a></span>&#160;    <a class="code" href="enumtools_1_1_protocol.html#a1b3083fa16658849fa8e47b7ca027602">CHECK</a>,</div>
<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="enumtools_1_1_protocol.html#a6929a81113e281dc8ea6f220cfe0ce14">    8</a></span>&#160;    <a class="code" href="enumtools_1_1_protocol.html#a6929a81113e281dc8ea6f220cfe0ce14">BET</a>,</div>
<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="enumtools_1_1_protocol.html#ac6960b0547d870a9349aa5fdcc42d775">    9</a></span>&#160;    <a class="code" href="enumtools_1_1_protocol.html#ac6960b0547d870a9349aa5fdcc42d775">RAISE</a>,</div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="enumtools_1_1_protocol.html#a22ddebccfad5f10085565beeab9ffc8d">   10</a></span>&#160;    <a class="code" href="enumtools_1_1_protocol.html#a22ddebccfad5f10085565beeab9ffc8d">CALL</a>,</div>
<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="enumtools_1_1_protocol.html#ab25bc725550f4fc5d5a0195598ea441d">   11</a></span>&#160;    <a class="code" href="enumtools_1_1_protocol.html#ab25bc725550f4fc5d5a0195598ea441d">FOLD</a>,</div>
<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="enumtools_1_1_protocol.html#a268e2b8626c573c44c3b09a047e98e25">   12</a></span>&#160;    <a class="code" href="enumtools_1_1_protocol.html#a268e2b8626c573c44c3b09a047e98e25">ALL_IN</a>,</div>
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="enumtools_1_1_protocol.html#abb29c4a754d8dd77119798b5c41c1c31">   13</a></span>&#160;    <a class="code" href="enumtools_1_1_protocol.html#abb29c4a754d8dd77119798b5c41c1c31">EXCHANGED_CARDS</a>,</div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="enumtools_1_1_protocol.html#a1f983f3d413450ccb27cf6f09e083c2f">   14</a></span>&#160;    <a class="code" href="enumtools_1_1_protocol.html#a1f983f3d413450ccb27cf6f09e083c2f">NO_EXCHANGE</a>,</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;    </div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;    <span class="comment">/* Komuniakty serwera */</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="enumtools_1_1_protocol.html#aaf2ea55c6b8b8344da690eac9625f4b3">   17</a></span>&#160;    <a class="code" href="enumtools_1_1_protocol.html#aaf2ea55c6b8b8344da690eac9625f4b3">NO_PLACE</a>,</div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="enumtools_1_1_protocol.html#a978f6af8393d0a36bf937c1f8c9a39c7">   18</a></span>&#160;    <a class="code" href="enumtools_1_1_protocol.html#a978f6af8393d0a36bf937c1f8c9a39c7">WELCOME</a>,</div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="enumtools_1_1_protocol.html#adb593f97dbac760b531344af93b70f93">   19</a></span>&#160;    <a class="code" href="enumtools_1_1_protocol.html#adb593f97dbac760b531344af93b70f93">WAITING_FOR_PLAYERS</a>,</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="enumtools_1_1_protocol.html#a63e566610903a6f1bc3bbee3499a320a">   20</a></span>&#160;    <a class="code" href="enumtools_1_1_protocol.html#a63e566610903a6f1bc3bbee3499a320a">BID</a>,</div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="enumtools_1_1_protocol.html#a0bc176b2d1a647e18d0f05cc832e435b">   21</a></span>&#160;    <a class="code" href="enumtools_1_1_protocol.html#a0bc176b2d1a647e18d0f05cc832e435b">EXCHANGE_CARDS</a>,</div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="enumtools_1_1_protocol.html#af6094cb914ad7c5239c42405d54e76f1">   22</a></span>&#160;    <a class="code" href="enumtools_1_1_protocol.html#af6094cb914ad7c5239c42405d54e76f1">END_GAME</a>,</div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="enumtools_1_1_protocol.html#a178ca5f793b2af285c4bfb8770823dd9">   23</a></span>&#160;    <a class="code" href="enumtools_1_1_protocol.html#a178ca5f793b2af285c4bfb8770823dd9">REFRESH</a>,</div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="enumtools_1_1_protocol.html#a9cc113abbd88a54f8f8a8a6a8a67095d">   24</a></span>&#160;    <a class="code" href="enumtools_1_1_protocol.html#a9cc113abbd88a54f8f8a8a6a8a67095d">START_GAME</a>,</div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="enumtools_1_1_protocol.html#aae3d946faf28d8421aca16c005ccfd40">   25</a></span>&#160;    <a class="code" href="enumtools_1_1_protocol.html#aae3d946faf28d8421aca16c005ccfd40">KICK</a>,</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;    </div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    <span class="comment">/* Wspolne komunikaty */</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="enumtools_1_1_protocol.html#a3d71b3b569c36dc50d1dfeccad68f8a3">   28</a></span>&#160;    <a class="code" href="enumtools_1_1_protocol.html#a3d71b3b569c36dc50d1dfeccad68f8a3">QUIT</a>,</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;}</div>
<div class="ttc" id="enumtools_1_1_protocol_html_a178ca5f793b2af285c4bfb8770823dd9"><div class="ttname"><a href="enumtools_1_1_protocol.html#a178ca5f793b2af285c4bfb8770823dd9">tools.Protocol.REFRESH</a></div><div class="ttdeci">REFRESH</div><div class="ttdef"><b>Definition:</b> <a href="_protocol_8java_source.html#l00023">Protocol.java:23</a></div></div>
<div class="ttc" id="enumtools_1_1_protocol_html_a63e566610903a6f1bc3bbee3499a320a"><div class="ttname"><a href="enumtools_1_1_protocol.html#a63e566610903a6f1bc3bbee3499a320a">tools.Protocol.BID</a></div><div class="ttdeci">BID</div><div class="ttdef"><b>Definition:</b> <a href="_protocol_8java_source.html#l00020">Protocol.java:20</a></div></div>
<div class="ttc" id="enumtools_1_1_protocol_html_a978f6af8393d0a36bf937c1f8c9a39c7"><div class="ttname"><a href="enumtools_1_1_protocol.html#a978f6af8393d0a36bf937c1f8c9a39c7">tools.Protocol.WELCOME</a></div><div class="ttdeci">WELCOME</div><div class="ttdef"><b>Definition:</b> <a href="_protocol_8java_source.html#l00018">Protocol.java:18</a></div></div>
<div class="ttc" id="enumtools_1_1_protocol_html"><div class="ttname"><a href="enumtools_1_1_protocol.html">tools.Protocol</a></div><div class="ttdef"><b>Definition:</b> <a href="_protocol_8java_source.html#l00003">Protocol.java:3</a></div></div>
<div class="ttc" id="enumtools_1_1_protocol_html_a6929a81113e281dc8ea6f220cfe0ce14"><div class="ttname"><a href="enumtools_1_1_protocol.html#a6929a81113e281dc8ea6f220cfe0ce14">tools.Protocol.BET</a></div><div class="ttdeci">BET</div><div class="ttdef"><b>Definition:</b> <a href="_protocol_8java_source.html#l00008">Protocol.java:8</a></div></div>
<div class="ttc" id="enumtools_1_1_protocol_html_a9cc113abbd88a54f8f8a8a6a8a67095d"><div class="ttname"><a href="enumtools_1_1_protocol.html#a9cc113abbd88a54f8f8a8a6a8a67095d">tools.Protocol.START_GAME</a></div><div class="ttdeci">START_GAME</div><div class="ttdef"><b>Definition:</b> <a href="_protocol_8java_source.html#l00024">Protocol.java:24</a></div></div>
<div class="ttc" id="enumtools_1_1_protocol_html_a1f983f3d413450ccb27cf6f09e083c2f"><div class="ttname"><a href="enumtools_1_1_protocol.html#a1f983f3d413450ccb27cf6f09e083c2f">tools.Protocol.NO_EXCHANGE</a></div><div class="ttdeci">NO_EXCHANGE</div><div class="ttdef"><b>Definition:</b> <a href="_protocol_8java_source.html#l00014">Protocol.java:14</a></div></div>
<div class="ttc" id="enumtools_1_1_protocol_html_ab25bc725550f4fc5d5a0195598ea441d"><div class="ttname"><a href="enumtools_1_1_protocol.html#ab25bc725550f4fc5d5a0195598ea441d">tools.Protocol.FOLD</a></div><div class="ttdeci">FOLD</div><div class="ttdef"><b>Definition:</b> <a href="_protocol_8java_source.html#l00011">Protocol.java:11</a></div></div>
<div class="ttc" id="enumtools_1_1_protocol_html_a3d71b3b569c36dc50d1dfeccad68f8a3"><div class="ttname"><a href="enumtools_1_1_protocol.html#a3d71b3b569c36dc50d1dfeccad68f8a3">tools.Protocol.QUIT</a></div><div class="ttdeci">QUIT</div><div class="ttdef"><b>Definition:</b> <a href="_protocol_8java_source.html#l00028">Protocol.java:28</a></div></div>
<div class="ttc" id="enumtools_1_1_protocol_html_a0bc176b2d1a647e18d0f05cc832e435b"><div class="ttname"><a href="enumtools_1_1_protocol.html#a0bc176b2d1a647e18d0f05cc832e435b">tools.Protocol.EXCHANGE_CARDS</a></div><div class="ttdeci">EXCHANGE_CARDS</div><div class="ttdef"><b>Definition:</b> <a href="_protocol_8java_source.html#l00021">Protocol.java:21</a></div></div>
<div class="ttc" id="enumtools_1_1_protocol_html_ac6960b0547d870a9349aa5fdcc42d775"><div class="ttname"><a href="enumtools_1_1_protocol.html#ac6960b0547d870a9349aa5fdcc42d775">tools.Protocol.RAISE</a></div><div class="ttdeci">RAISE</div><div class="ttdef"><b>Definition:</b> <a href="_protocol_8java_source.html#l00009">Protocol.java:9</a></div></div>
<div class="ttc" id="enumtools_1_1_protocol_html_aae3d946faf28d8421aca16c005ccfd40"><div class="ttname"><a href="enumtools_1_1_protocol.html#aae3d946faf28d8421aca16c005ccfd40">tools.Protocol.KICK</a></div><div class="ttdeci">KICK</div><div class="ttdef"><b>Definition:</b> <a href="_protocol_8java_source.html#l00025">Protocol.java:25</a></div></div>
<div class="ttc" id="enumtools_1_1_protocol_html_a22ddebccfad5f10085565beeab9ffc8d"><div class="ttname"><a href="enumtools_1_1_protocol.html#a22ddebccfad5f10085565beeab9ffc8d">tools.Protocol.CALL</a></div><div class="ttdeci">CALL</div><div class="ttdef"><b>Definition:</b> <a href="_protocol_8java_source.html#l00010">Protocol.java:10</a></div></div>
<div class="ttc" id="enumtools_1_1_protocol_html_abb29c4a754d8dd77119798b5c41c1c31"><div class="ttname"><a href="enumtools_1_1_protocol.html#abb29c4a754d8dd77119798b5c41c1c31">tools.Protocol.EXCHANGED_CARDS</a></div><div class="ttdeci">EXCHANGED_CARDS</div><div class="ttdef"><b>Definition:</b> <a href="_protocol_8java_source.html#l00013">Protocol.java:13</a></div></div>
<div class="ttc" id="enumtools_1_1_protocol_html_ab47a2b0367014541f341673dff85a090"><div class="ttname"><a href="enumtools_1_1_protocol.html#ab47a2b0367014541f341673dff85a090">tools.Protocol.HELLO</a></div><div class="ttdeci">HELLO</div><div class="ttdef"><b>Definition:</b> <a href="_protocol_8java_source.html#l00006">Protocol.java:6</a></div></div>
<div class="ttc" id="enumtools_1_1_protocol_html_aaf2ea55c6b8b8344da690eac9625f4b3"><div class="ttname"><a href="enumtools_1_1_protocol.html#aaf2ea55c6b8b8344da690eac9625f4b3">tools.Protocol.NO_PLACE</a></div><div class="ttdeci">NO_PLACE</div><div class="ttdef"><b>Definition:</b> <a href="_protocol_8java_source.html#l00017">Protocol.java:17</a></div></div>
<div class="ttc" id="enumtools_1_1_protocol_html_a268e2b8626c573c44c3b09a047e98e25"><div class="ttname"><a href="enumtools_1_1_protocol.html#a268e2b8626c573c44c3b09a047e98e25">tools.Protocol.ALL_IN</a></div><div class="ttdeci">ALL_IN</div><div class="ttdef"><b>Definition:</b> <a href="_protocol_8java_source.html#l00012">Protocol.java:12</a></div></div>
<div class="ttc" id="enumtools_1_1_protocol_html_a1b3083fa16658849fa8e47b7ca027602"><div class="ttname"><a href="enumtools_1_1_protocol.html#a1b3083fa16658849fa8e47b7ca027602">tools.Protocol.CHECK</a></div><div class="ttdeci">CHECK</div><div class="ttdef"><b>Definition:</b> <a href="_protocol_8java_source.html#l00007">Protocol.java:7</a></div></div>
<div class="ttc" id="enumtools_1_1_protocol_html_af6094cb914ad7c5239c42405d54e76f1"><div class="ttname"><a href="enumtools_1_1_protocol.html#af6094cb914ad7c5239c42405d54e76f1">tools.Protocol.END_GAME</a></div><div class="ttdeci">END_GAME</div><div class="ttdef"><b>Definition:</b> <a href="_protocol_8java_source.html#l00022">Protocol.java:22</a></div></div>
<div class="ttc" id="enumtools_1_1_protocol_html_adb593f97dbac760b531344af93b70f93"><div class="ttname"><a href="enumtools_1_1_protocol.html#adb593f97dbac760b531344af93b70f93">tools.Protocol.WAITING_FOR_PLAYERS</a></div><div class="ttdeci">WAITING_FOR_PLAYERS</div><div class="ttdef"><b>Definition:</b> <a href="_protocol_8java_source.html#l00019">Protocol.java:19</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_4eeb864c4eec08c7d6b9d3b0352cfdde.html">tools</a></li><li class="navelem"><a class="el" href="_protocol_8java.html">Protocol.java</a></li>
    <li class="footer">Generated on Sun Nov 16 2014 20:20:35 for Badugi by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.7 </li>
  </ul>
</div>
</body>
</html>
